<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>AddSubMesh</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">AddSubMesh()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>AddSubMesh</b></font>([Type])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Add a new submesh to the currently mesh previously created with <a href="createmesh.html">CreateMesh()</a>. A mesh can have any number of 
submeshes. A submesh position is relative the mesh position. Once a submesh is created, use the following 
commands to build it: <a href="meshvertexposition.html">MeshVertexPosition()</a>, <a href="meshface.html">MeshFace()</a> and <a href="meshindex.html">MeshIndex()</a>. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Type (optional)</i></td>
<td width="90%"> 
 
The type of the new submesh. It can be one of the following value: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Mesh_TriangleList</font> : the submesh will be composed of a list of triangles (default).
  <font color="#924B72">#PB_Mesh_TriangleStrip</font>: the submesh will be composed of a list of connected triangles (vertices are shared).
  <font color="#924B72">#PB_Mesh_TriangleFan</font>  : the submesh will be composed of a list of triangles sharing the same central vertex point.
  <font color="#924B72">#PB_Mesh_PointList</font>    : the submesh will be composed of a list of points.
  <font color="#924B72">#PB_Mesh_LineList</font>     : the submesh will be composed of a list of lines.
  <font color="#924B72">#PB_Mesh_LineStrip</font>    : the submesh will be composed of a list of connected lines (vertices are shared).
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>参阅</b></p><blockquote>

<a href="freemesh.html">FreeMesh()</a>, <a href="createmesh.html">CreateMesh()</a>, <a href="meshvertexposition.html">MeshVertexPosition()</a>, <a href="meshface.html">MeshFace()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href=index.html>Mesh Index</a> - <a href=buildmeshshadowvolume.html>BuildMeshShadowVolume()</a> -&gt;



</body></html>